export default defineAppConfig({
  pages: [
    "pages/index/index",
    "pages/report/index",

    "pages/resident_medical_insurance/index",
    "pages/lpr/index",
    "pages/gjj_lending_rate/index",
    "pages/loan_calculator/index",

    "pages/recorder/index",
    "pages/upfile-page/index",
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#F6F7FB",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black",
  },
  lazyCodeLoading: "requiredComponents",
  requiredPrivateInfos: ["getLocation"],
  permission: {
    "scope.userLocation": {
      desc: "你的位置信息将用于小程序位置接口的效果展示",
    },
  },
  tabBar: {
    list: [
      {
        pagePath: "pages/index/index",
        text: "首页",
        iconPath: "as/bottom_table_btn_chat_2.png",
        selectedIconPath: "as/bottom_table_btn_chat_1.png",
      },
      {
        iconPath: "as/bottom_table_btn_fenshen_2.png",
        selectedIconPath: "as/bottom_table_btn_fenshen_1.png",
        text: "报告",
        pagePath: "pages/report/index",
      },
    ],
    backgroundColor: "#2887f3",
    selectedColor: "#ffffff",
    color: "#a0a0a1",
  },
});
